package com.amigo.online.provider.merchant.mapper;


import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;
import org.springframework.stereotype.Component;

import com.amigo.online.common.core.mybatis.MyMapper;
import com.amigo.online.provider.merchant.model.entity.MerchantEnvironment;

@Mapper
@Component
public interface MerchantEnvironmentMapper extends MyMapper<MerchantEnvironment> {

    @Update("update merchant_environment set deleted = 1, deleted_time = #{delTime} where merchant_id = #{merchantId}")
    int delImg(@Param("merchantId") Long merchantId, @Param("delTime") Long delTime);


}